{% extends "base.html" %}

{% block content %}
<h2>Zmiana danych</h2>
<form action="/accounts/change_details/email/" method="post">
    <table>
        {{ email_form.as_table }}
        <tr>
            <td colspan=2>
                <input id="submit" type="submit" value="Zmień adres e-mail" />
            </td>
        </tr>
    </table>
</form>
<form action="/accounts/change_details/password/" method="post">
    <table>
        {{ password_form.as_table }}
        <tr>
            <td colspan=2>
                <input id="submit" type="submit" value="Zmień hasło" />
            </td>
        </tr>
    </table>
</form>
{% endblock %}

